package com.practice.stream.entity;

import java.util.Arrays;
import java.util.List;

/**
 * @author hd
 * @date 2022/1/29 16:36
 */
public class TradersList {

    public static List<Trader> traderList;

    public static List<Trader> getTraderList() {
        traderList = Arrays.asList(
                new Trader("Harry", "Cambridge"),
                new Trader("tom", "Milan"),
                new Trader("Alan", "Cambridge")
        );
        return traderList;
    }

}
